//公共模块导入
import personList from "../components/common/person_list/person_list.vue"//用户发布消息(用户头像，下面是物品图片，最先是介绍)
import userListTop from "../components/common/user_list_top/user_list_top.vue"//发布消息区域，用户头像加用户姓名
import footer from "../components/common/footer/footer.vue"//底部首页个人管理等切换
import simulationSearchInput from "../components/common/simulation_search_input/simulation_search_input.vue"//模拟input框
/*物品详情*/
import goodsDetail from "../components/common/goods_detail/goods_detail.vue"//物品详情(每个用户发布的消息点进去出现的详情)
import goodsImgText from "../components/common/goods_detail/children/img_text.vue"//物品详情图片和文字展示
import goodsContact from "../components/common/goods_detail/children/contact.vue"//物品详情联系方式
import goodsLeaveMessage from "../components/common/goods_detail/children/leave_a_message.vue"//物品详情留言模块
//import sendMsg from "../components/common/goods_detail/children/send_message.vue"//留言发送消息部分
import ratings from "../components/common/goods_detail/children/children/ratings.vue"//留言主模块
//import ratingsContent from "../components/common/ratings/children/ratings_content.vue"//留言内容区域


//===============
//主页文件导入
//===============
import header from "./index/children/header.vue"//主页头部搜索框
import slide from "./index/children/slide.vue"//主页轮播图
import notice from "./index/children/notice.vue"//主页用户通知
import models from "./index/children/models.vue"//主页分类模块
import lost from "./index/children/lost.vue"//主页失物招领
import sell from "./index/children/sell.vue"//主页随机商品出售
import help from "./index/children/help.vue"//主页江湖救急页面

//===============
//书籍详情
//===============
import books_title from "./books/children/title.vue"//书籍头部分类
import books_hot from "./books/children/children/hot.vue"//最受关注的书籍
import books_classify from "./books/children/classify.vue"//书籍分类列表
import books_sell from "./books/children/children/sell.vue"//书籍出售
import books_detail from "./books/children/books_detail.vue"//各个不同的书籍分类组件，CET4，考研，教材，公务员
//===============
//二手衣服详情
//===============
import clothes_classify from "./clothes/children/clothes_classify.vue"//衣服分类




//===============
//查看用户信息
//===============
import userInfoHeader from "../components/common/user_info/children/user_info_header.vue"//用户信息头部
import userInfoTabs from "../components/common/user_info/children/user_info_tabs.vue"//用户信息tabs分类







//===============
//插件导入
//===============
import { swiper, swiperSlide } from 'vue-awesome-swiper'
const All = {
	install: function(Vue) {
		//公共模块
		Vue.component("s-person-list", personList);
		Vue.component("s-user-list-top", userListTop);
		Vue.component("s-footer", footer);
		Vue.component("s-simulation-search-input", simulationSearchInput);
		Vue.component("s-goods-detail", goodsDetail);
		Vue.component("s-goods-img-text", goodsImgText);
		Vue.component("s-goods-contact", goodsContact);
		Vue.component("s-goods-leave-message", goodsLeaveMessage);
		Vue.component("s-ratings", ratings);
		//Vue.component("s-send-msg", sendMsg);
		//用户信息模块
		Vue.component("s-user-info-header", userInfoHeader);
		Vue.component("s-user-info-tabs", userInfoTabs);
		//主页模块
		Vue.component("s-header", header);
		Vue.component("s-slide", slide);
		Vue.component("s-notice", notice);
		Vue.component("s-models", models);
		Vue.component("s-lost", lost);
		Vue.component("s-sell", sell);
		Vue.component("s-help", help);
		//书籍模块
		Vue.component("s-books-title", books_title);
		Vue.component("s-books-classify", books_classify);
		Vue.component("s-books-hot", books_hot);
		Vue.component("s-books-sell", books_sell);
		Vue.component("s-books-detail", books_detail);//书籍分类模块，CET4，考研，教材，公务员
		//衣服分类模块
		Vue.component("s-clothes-classify", clothes_classify);
		
		
		
		
		
		
		Vue.component('swiper', swiper);
		Vue.component('swiper-slide', swiperSlide);
	}
}

export default All;
